package com.dd.ms.log.web.converter;

import com.dd.ms.log.api.pojo.dto.LogEntryDTO;
import com.dd.ms.log.web.pojo.LogEntryESDO;
import org.springframework.beans.BeanUtils;

/**
 * @Author liuxianmeng
 * @CreateTime 2025/6/29 19:18
 * @Description 类功能作用说明
 */
public class LogEntryConverter {
    public static LogEntryESDO logEntryBO2ESDO(LogEntryDTO DTO) {
        LogEntryESDO DO = new LogEntryESDO();
        BeanUtils.copyProperties(DTO, DO);
        return DO;
    }
}
